package edu.whu.puppygo.entity;

import edu.whu.puppygo.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;

/**
 * @author guanruwang
 * @date 2023/12/2$
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
public class GrowthRecord extends BaseEntity {

    @ApiModelProperty(value = "宠物Id")
    private long petId;

    @ApiModelProperty(value = "成长记录内容")
    private String record;

    @ApiModelProperty(value = "成长记录图片,列表json形式")
    private String imgList;

    @ApiModelProperty(value = "记录日期年份")
    private Integer recordYear;

    @ApiModelProperty(value = "记录日期月份")
    private Integer recordMonth;

    @ApiModelProperty(value = "记录日期日")
    private Integer recordDay;


}
